#include <bits/stdc++.h>
using namespace std;
int n;
int f[100005];
int main()
{
    freopen("color.in" , "r" , stdin);
    freopen("color.out" , "w" , stdout);
    cin >> n;
    for (int i = 1 ; i <= n ; i++)
        for (int i = 1 ; i <= 2*n ; i++)
        {
            cin >> f[i];
        }
    cout << 1 << endl << 0 << endl << 8;
    return 0;
}
